'use strict';
// var server_ip = 'http://localhost:8085/';
var server_ip = 'http://192.168.1.164:8085/';

var service = angular.module('Service',[]);

service.factory('UserService',['$http',
    function ($http) {
        var getResult = function () {
            return $http({
                method: 'GET',
                url: server_ip,
            });
        }
        return {
            result:getResult
        };
    }
]);
